﻿Public Class DocGiaTreEm
    Inherits DocGia

    Private _NguoiDaiDien As String
    Public Property NguoiDaiDien() As String
        Get
            Return _NguoiDaiDien
        End Get
        Set(ByVal value As String)
            _NguoiDaiDien = value
        End Set
    End Property
    Public Overrides Sub Nhap()
        MyBase.Nhap()
        Console.Write("Nguoi dai dien: ")
        _NguoiDaiDien = Console.ReadLine
    End Sub
    Public Overrides Sub Xuat()
        MyBase.Xuat()
        Console.WriteLine(", Nguoi dai dien: {0}", _NguoiDaiDien)
        Console.WriteLine("Doc Gia Tre Em")
    End Sub
    Public Overrides Function TinhTien() As Double
        Return 20000
    End Function


End Class
